package com.miluGame.service;

import java.util.List;

import javax.servlet.http.HttpServletResponse;

import org.springframework.stereotype.Service;

import com.miluGame.base.BaseService;
import com.miluGame.entity.Menu;
import com.miluGame.entity.Role;

/**
 * 角色业务处理接口
 * @author Administrator
 *
 */

public interface RoleService extends BaseService{
	
	/**
	 * 根据角色获取菜单列表
	 * @return
	 */
	public List<Role> getMenusByRole(int pageSize,int pageNum);
	
	public int countRoles();
	
	public int insertRole(String roleName,String roleDis,HttpServletResponse rsp);
}
